package com.woc.boot.srv.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 功能管理表
 *
 * @author woc
 * @since 2024-01-26
 */
public class WocFunction implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@NotBlank(message = "功能名称不能为空")
	@Size(max = 64, message = "功能名称不能大于64个字符")
	private String name;
	@NotBlank(message = "控制器不能为空")
	private String controller;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getController() {
		return controller;
	}

	public void setController(String controller) {
		this.controller = controller;
	}

	
}
